package eu.dominicum.ft.ui.web.jsf.view.bean;

import eu.dominicum.ft.pd.Participant;

/**
 * Data bean that contains items for a row in a ranking table.
 *
 * @author Harry Klerks
 * @since 2013M1
 */
public final class RankingRowBean {

    /**
     * Rank.
     */
    private Integer rank;

    /**
     * {@link Participant}.
     */
    private Participant participant;

    /**
     * Total points.
     */
    private Long totalPoints;

    /**
     * .
     *
     * @return Integer
     */
    public Integer getRank() {
        return rank;
    }

    /**
     * .
     *
     * @param newRank -
     */
    public void setRank(final Integer newRank) {
        this.rank = newRank;
    }

    /**
     * .
     *
     * @return Participant
     */
    public Participant getParticipant() {
        return participant;
    }

    /**
     * .
     *
     * @param newParticipant -
     */
    public void setParticipant(final Participant newParticipant) {
        this.participant = newParticipant;
    }

    /**
     * .
     *
     * @return Integer
     */
    public Long getTotalPoints() {
        return totalPoints;
    }

    /**
     * .
     *
     * @param newTotalPoints -
     */
    public void setTotalPoints(final Long newTotalPoints) {
        this.totalPoints = newTotalPoints;
    }
}
